<template>
  <div class="points">
    <div class="wrap points-wrap">
      <div class="header">
        <img src="@/assets/img/score.png" alt="" />
        <h2>积分攻略</h2>
      </div>
      <ul class="list-box">
        <li>
          <img src="@/assets/img/integral-01.9386d4bf.png" alt="" />
          <div class="goto">
            <h4>签到得积分</h4>
            <div class="go">去签到</div>
          </div>
        </li>
        <li>
          <img src="@/assets/img/integral-02.150d92a1.png" alt="" />
          <div class="goto">
            <h4>购课得积分</h4>
            <div class="go">去购课</div>
          </div>
        </li>
        <li>
          <img src="@/assets/img/integral-03.9870f3f1.png" alt="" />
          <div class="goto">
            <h4>推荐得积分</h4>
            <div class="go">去推荐</div>
          </div>
        </li>
        <li>
          <img src="@/assets/img/integral-04.afadcbdf.png" alt="" />
          <div class="goto">
            <h4>拼团得积分</h4>
            <div class="go">去拼团</div>
          </div>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.header {
  padding-top: 55px;
  display: flex;
  height: 30px;
  line-height: 30px;
  h2 {
    margin-left: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #333333;
  }
}
.list-box {
  margin: 10px auto 40px;
  display: flex;
  justify-content: space-between;
  li {
    position: relative;
    width: 285px;
    height: 168px;
    &:hover {
      cursor: pointer;
      .go {
        background-color: red;
      }
    }
    .goto {
      position: absolute;
      top: 15%;
      left: 5%;
      font-size: 30px;
      font-weight: bold;
      color: #ffffff;
      .go {
        margin-top: 40px;
        width: 96px;
        height: 27px;
        border: 1px solid #ffffff;
        text-align: center;
        line-height: 27px;
        color: #ffffff;
        font-size: 16px;
        font-weight: 300;
      }
    }
  }
}
</style>